package com.android.djlmapp.adapter.order;

import android.content.Context;

import com.android.djlmapp.R;
import com.android.djlmapp.model.order.OrderListInfo;

import org.refresh_view.pullrecyclerview.BaseViewHolder;

/**
 * @Author wangziheng
 * @ProjectName djlm
 * @ClassName QbChargeOrderListAdapter
 * @package com.android.djlmapp.adapter.order
 * @data 2018/12/12 12:39
 * @Describe Q币充值订单
 * @Change
 */
public class QbChargeOrderListAdapter extends OrderListAdapter{
    public QbChargeOrderListAdapter(Context context) {
        super(context);
    }

    @Override
    protected void convert(BaseViewHolder holder, OrderListInfo.DataBean item) {
        super.convert(holder, item);
        mOrderNameTv.setText(item.getQq_number());
        holder.setText(R.id.order_list_orderPrice_tv,"¥:  " + item.getAll_sale_price());
        holder.setImageResource(R.id.order_list_goodsIcon_img,R.mipmap.order_qq_charge_icon);
    }
}
